package com.shenmazong.demoaop001.service.impl;

import com.shenmazong.demoaop001.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @program: demo-aop-001
 * @description: UserServiceImpl
 * @author: 亮子说编程
 * @create: 2021-01-23 20:33
 **/

@Service
@Slf4j
public class UserServiceImpl implements UserService {

    @Override
    public String getUser() {
        log.info("-->UserServiceImpl.getUser");
        return "user=david";
    }

    @Override
    public String getMoney() {
        log.info("-->UserServiceImpl.getUser");
        return "money=666";
    }
}
